package com.enjoyor.soa.traffic.api.dto.efoms;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.enjoyor.soa.traffic.util.bean.base.ABean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 维修工单信息
 * 
 * @author zyh
 * 
 * @date 2018-12-28
 */
@ApiModel(value = "WorkordersInfoDto", description = "维修工单信息")
public class WorkordersInfoDto extends ABean{

	private static final long serialVersionUID = 4135271506197684424L;

	@ApiModelProperty(value = "主键", name="workordersId",  required = true)
    private String workordersId;

	@ApiModelProperty(value = "进程编号", name="processId",  required = true)
    private String processId;

	@ApiModelProperty(value = "报修编号", name="repairsId",  required = true)
    private String repairsId;

	@ApiModelProperty(value = "设备类别编号", name="devCategoryCode",  required = true)
    private String devCategoryCode;

	@ApiModelProperty(value = "设备类别名称", name="devCategoryName",  required = true)
    private String devCategoryName;

	@ApiModelProperty(value = "设备类型编号", name="devTypeCode",  required = true)
    private String devTypeCode;

	@ApiModelProperty(value = "设备类型名称", name="devTypeName",  required = true)
    private String devTypeName;

	@ApiModelProperty(value = "设备名称", name="devName",  required = true)
    private String devName;

	@ApiModelProperty(value = "设备编号", name="devId",  required = true)
    private String devId;

	@ApiModelProperty(value = "设备厂家", name="devFactory",  required = true)
    private String devFactory;

	@ApiModelProperty(value = "设备品牌", name="devBrand",  required = true)
    private String devBrand;

	@ApiModelProperty(value = "设备型号", name="devModel",  required = true)
    private String devModel;

	@ApiModelProperty(value = "设备建设时间", name="devBuildDate",  required = true)
    private String devBuildDate;

	@ApiModelProperty(value = "设备区域编号", name="devAreaCode",  required = true)
    private String devAreaCode;

	@ApiModelProperty(value = "设备区域名称", name="devAreaName",  required = true)
    private String devAreaName;

	@ApiModelProperty(value = "设备部门编号", name="devDeptId",  required = true)
    private String devDeptId;

	@ApiModelProperty(value = "设备部门名称", name="devDeptName",  required = true)
    private String devDeptName;

	@ApiModelProperty(value = "设备IP", name="deviceIp",  required = true)
    private String devIp;

	@ApiModelProperty(value = "经度", name="longitude",  required = true)
    private Double longitude;

	@ApiModelProperty(value = "纬度", name="latitude",  required = true)
    private Double latitude;

	@ApiModelProperty(value = "设备安装位置", name="devBuildPosition",  required = true)
    private String devBuildPosition;

	@ApiModelProperty(value = "故障类型编号", name="failureTypeCode",  required = true)
    private String failureTypeCode;

	@ApiModelProperty(value = "故障类型名称", name="failureTypeName",  required = true)
    private String failureTypeName;

	@ApiModelProperty(value = "故障描述", name="failureDescrible",  required = true)
    private String failureDescrible;

	@ApiModelProperty(value = "报修来源编号", name="repSourceCode",  required = true)
    private String repSourceCode;

	@ApiModelProperty(value = "报修来源名称", name="repSourceName",  required = true)
    private String repSourceName;

	@ApiModelProperty(value = "报修人编号", name="repPersonId",  required = true)
    private String repPersonId;

	@ApiModelProperty(value = "报修人名称", name="repPersonName",  required = true)
    private String repPersonName;

	@ApiModelProperty(value = "报修人电话", name="repPersonTel",  required = true)
    private String repPersonTel;

	@ApiModelProperty(value = "联系人", name="conPerson",  required = true)
    private String conPerson;

	@ApiModelProperty(value = "联系人电话", name="conPersonTel",  required = true)
    private String conPersonTel;

	@ApiModelProperty(value = "报修部门编号", name="repDeptId",  required = true)
    private String repDeptId;

	@ApiModelProperty(value = "报修部门名称", name="repDeptName",  required = true)
    private String repDeptName;

	@ApiModelProperty(value = "催办次数", name="pressTimes",  required = true)
    private int pressTimes;

	@ApiModelProperty(value = "报修单状态编号", name="workordersStatusCode",  required = true)
    private String workordersStatusCode;

	@ApiModelProperty(value = "报修单状态名称", name="workordersStatusName",  required = true)
    private String workordersStatusName;

	@ApiModelProperty(value = "期限日期", name="deadlineTime",  required = true)
    private String deadlineTime;

	@ApiModelProperty(value = "是否延期", name="isDefer",  required = true)
    private Boolean isDefer;

	@ApiModelProperty(value = "是否维修申请", name="isRpeApply",  required = true)
    private Boolean isRpeApply;

	@ApiModelProperty(value = "报修时间", name="repDate",  required = true)
    private String repDate;

	@ApiModelProperty(value = "创建时间", name="createDate",  required = true)
    private String createDate;

	@ApiModelProperty(value = "更新时间", name="updateDate",  required = true)
    private String updateDate;

	@ApiModelProperty(value = "完成时间", name="finishTime",  required = true)
    private String finishTime;
    
	@ApiModelProperty(value = "是否逾期", name="isOverdue",  required = true)
    private Boolean isOverdue;
	
	@ApiModelProperty(value = "关联附件集合", name="updateDate",  required = true)
    private List<FileInfoDto> fileInfoList;

	@ApiModelProperty(value = "维修单记录map集合", name="updateDate",  required = true)
	private Map<String, List<WorkordersRecordInfoDto>> workordersRecordMap = new HashMap<>();
	
	@ApiModelProperty(value = "维修记录list集合", name="updateDate",  required = true)
    private List<WorkordersRecordInfoDto> workordersRecordList;

	@ApiModelProperty(value = "设备使用状态编号", name="repStatusCode",  required = true)
	private String repStatusCode;
	
	@ApiModelProperty(value = "repStatusName", name="repStatusName",  required = true)
	private String repStatusName;
    public String getWorkordersId() {
        return workordersId;
    }

    public void setWorkordersId(String workordersId) {
        this.workordersId = workordersId == null ? null : workordersId.trim();
    }

    public String getProcessId() {
        return processId;
    }

    public void setProcessId(String processId) {
        this.processId = processId == null ? null : processId.trim();
    }

    public String getRepairsId() {
        return repairsId;
    }

    public void setRepairsId(String repairsId) {
        this.repairsId = repairsId == null ? null : repairsId.trim();
    }

    public String getDevCategoryCode() {
        return devCategoryCode;
    }

    public void setDevCategoryCode(String devCategoryCode) {
        this.devCategoryCode = devCategoryCode == null ? null : devCategoryCode.trim();
    }

    public String getDevCategoryName() {
        return devCategoryName;
    }

    public void setDevCategoryName(String devCategoryName) {
        this.devCategoryName = devCategoryName == null ? null : devCategoryName.trim();
    }

    public String getDevTypeCode() {
        return devTypeCode;
    }

    public void setDevTypeCode(String devTypeCode) {
        this.devTypeCode = devTypeCode == null ? null : devTypeCode.trim();
    }

    public String getDevTypeName() {
        return devTypeName;
    }

    public void setDevTypeName(String devTypeName) {
        this.devTypeName = devTypeName == null ? null : devTypeName.trim();
    }

    public String getDevName() {
        return devName;
    }

    public void setDevName(String devName) {
        this.devName = devName == null ? null : devName.trim();
    }

    public String getDevId() {
        return devId;
    }

    public void setDevId(String devId) {
        this.devId = devId == null ? null : devId.trim();
    }

    public String getDevFactory() {
        return devFactory;
    }

    public void setDevFactory(String devFactory) {
        this.devFactory = devFactory == null ? null : devFactory.trim();
    }

    public String getDevBrand() {
        return devBrand;
    }

    public void setDevBrand(String devBrand) {
        this.devBrand = devBrand == null ? null : devBrand.trim();
    }

    public String getDevModel() {
        return devModel;
    }

    public void setDevModel(String devModel) {
        this.devModel = devModel == null ? null : devModel.trim();
    }

    public String getDevBuildDate() {
        return devBuildDate;
    }

    public void setDevBuildDate(String devBuildDate) {
        this.devBuildDate = devBuildDate;
    }

    public String getDevAreaCode() {
        return devAreaCode;
    }

    public void setDevAreaCode(String devAreaCode) {
        this.devAreaCode = devAreaCode == null ? null : devAreaCode.trim();
    }

    public String getDevAreaName() {
        return devAreaName;
    }

    public void setDevAreaName(String devAreaName) {
        this.devAreaName = devAreaName == null ? null : devAreaName.trim();
    }

    public String getDevDeptId() {
        return devDeptId;
    }

    public void setDevDeptId(String devDeptId) {
        this.devDeptId = devDeptId == null ? null : devDeptId.trim();
    }

    public String getDevDeptName() {
        return devDeptName;
    }

    public void setDevDeptName(String devDeptName) {
        this.devDeptName = devDeptName == null ? null : devDeptName.trim();
    }

    public String getDevIp() {
        return devIp;
    }

    public void setDevIp(String devIp) {
        this.devIp = devIp == null ? null : devIp.trim();
    }

    public Double getLongitude() {
        return longitude;
    }

    public void setLongitude(Double longitude) {
        this.longitude = longitude;
    }

    public Double getLatitude() {
        return latitude;
    }

    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }

    public String getDevBuildPosition() {
        return devBuildPosition;
    }

    public void setDevBuildPosition(String devBuildPosition) {
        this.devBuildPosition = devBuildPosition == null ? null : devBuildPosition.trim();
    }

    public String getFailureTypeCode() {
        return failureTypeCode;
    }

    public void setFailureTypeCode(String failureTypeCode) {
        this.failureTypeCode = failureTypeCode == null ? null : failureTypeCode.trim();
    }

    public String getFailureTypeName() {
        return failureTypeName;
    }

    public void setFailureTypeName(String failureTypeName) {
        this.failureTypeName = failureTypeName == null ? null : failureTypeName.trim();
    }

    public String getFailureDescrible() {
        return failureDescrible;
    }

    public void setFailureDescrible(String failureDescrible) {
        this.failureDescrible = failureDescrible == null ? null : failureDescrible.trim();
    }

    public String getRepSourceCode() {
        return repSourceCode;
    }

    public void setRepSourceCode(String repSourceCode) {
        this.repSourceCode = repSourceCode == null ? null : repSourceCode.trim();
    }

    public String getRepSourceName() {
        return repSourceName;
    }

    public void setRepSourceName(String repSourceName) {
        this.repSourceName = repSourceName == null ? null : repSourceName.trim();
    }

    public String getRepPersonId() {
		return repPersonId;
	}

	public void setRepPersonId(String repPersonId) {
		this.repPersonId = repPersonId;
	}

	public String getRepPersonName() {
		return repPersonName;
	}

	public void setRepPersonName(String repPersonName) {
		this.repPersonName = repPersonName;
	}

	public String getRepPersonTel() {
        return repPersonTel;
    }

    public void setRepPersonTel(String repPersonTel) {
        this.repPersonTel = repPersonTel == null ? null : repPersonTel.trim();
    }

    public String getConPerson() {
        return conPerson;
    }

    public void setConPerson(String conPerson) {
        this.conPerson = conPerson == null ? null : conPerson.trim();
    }

    public String getConPersonTel() {
        return conPersonTel;
    }

    public void setConPersonTel(String conPersonTel) {
        this.conPersonTel = conPersonTel == null ? null : conPersonTel.trim();
    }

    public String getRepDeptId() {
        return repDeptId;
    }

    public void setRepDeptId(String repDeptId) {
        this.repDeptId = repDeptId == null ? null : repDeptId.trim();
    }

    public String getRepDeptName() {
        return repDeptName;
    }

    public void setRepDeptName(String repDeptName) {
        this.repDeptName = repDeptName == null ? null : repDeptName.trim();
    }

    public int getPressTimes() {
        return pressTimes;
    }

    public void setPressTimes(int pressTimes) {
        this.pressTimes = pressTimes;
    }

    public String getWorkordersStatusCode() {
        return workordersStatusCode;
    }

    public void setWorkordersStatusCode(String workordersStatusCode) {
        this.workordersStatusCode = workordersStatusCode == null ? null : workordersStatusCode.trim();
    }

    public String getWorkordersStatusName() {
        return workordersStatusName;
    }

    public void setWorkordersStatusName(String workordersStatusName) {
        this.workordersStatusName = workordersStatusName == null ? null : workordersStatusName.trim();
    }

    public String getDeadlineTime() {
        return deadlineTime;
    }

    public void setDeadlineTime(String deadlineTime) {
        this.deadlineTime = deadlineTime;
    }

    public Boolean getIsDefer() {
        return isDefer;
    }

    public void setIsDefer(Boolean isDefer) {
        this.isDefer = isDefer;
    }

    public Boolean getIsRpeApply() {
        return isRpeApply;
    }

    public void setIsRpeApply(Boolean isRpeApply) {
        this.isRpeApply = isRpeApply;
    }

    public String getRepDate() {
        return repDate;
    }

    public void setRepDate(String repDate) {
        this.repDate = repDate;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public String getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(String updateDate) {
        this.updateDate = updateDate;
    }

	public String getFinishTime() {
		return finishTime;
	}

	public void setFinishTime(String finishTime) {
		this.finishTime = finishTime;
	}

	public Boolean getIsOverdue() {
		return isOverdue;
	}

	public void setIsOverdue(Boolean isOverdue) {
		this.isOverdue = isOverdue;
	}

	public List<FileInfoDto> getFileInfoList() {
		return fileInfoList;
	}

	public void setFileInfoList(List<FileInfoDto> fileInfoList) {
		this.fileInfoList = fileInfoList;
	}

	public Map<String, List<WorkordersRecordInfoDto>> getWorkordersRecordMap() {
		return workordersRecordMap;
	}

	public void setWorkordersRecordMap(Map<String, List<WorkordersRecordInfoDto>> workordersRecordMap) {
		this.workordersRecordMap = workordersRecordMap;
	}

	public List<WorkordersRecordInfoDto> getWorkordersRecordList() {
		return workordersRecordList;
	}

	public void setWorkordersRecordList(List<WorkordersRecordInfoDto> workordersRecordList) {
		this.workordersRecordList = workordersRecordList;
	}

	public String getRepStatusCode() {
		return repStatusCode;
	}

	public void setRepStatusCode(String repStatusCode) {
		this.repStatusCode = repStatusCode;
	}

	public String getRepStatusName() {
		return repStatusName;
	}

	public void setRepStatusName(String repStatusName) {
		this.repStatusName = repStatusName;
	}
	
	
}